Package com.cisco.pt.ipc.sim.impl
Class FrameRelayProcessImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ProcessImpl
com.cisco.pt.ipc.sim.impl.PortKeepAliveProcessImpl
com.cisco.pt.ipc.sim.impl.FrameRelayProcessImpl
- All Implemented Interfaces:
IPCObject,FrameRelayProcess,PortKeepAliveProcess,Process
Information provided by the PKI file:
\class FrameRelayProcess
\brief FrameRelayProcess handles and manipulates the Frame Relay process.
\example network().getDevice("Router0").getPort("Serial0/0/0").getKeepAliveProcess()
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionFrameRelayProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddIntDlciEntry(String portName, int dlci) Information provided by the PKI file:booleanaddMapEntry(IPAddress ipAddress, int dlci, boolean bBroadcast, FrameRelayEncapType encapType, String portName) Information provided by the PKI file:voidInformation provided by the PKI file:booleandeleteIntDlciEntry(String portName, int dlci) Information provided by the PKI file:booleandeleteMapEntry(String portName, IPAddress ipAddress) Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:getIntDlciEntryAt(int index, String portName) Information provided by the PKI file:intgetIntDlciEntryCount(String portName) Information provided by the PKI file:getIntDlciToPort(int dlci) Information provided by the PKI file:getLmiDlciEntryAt(int index) Information provided by the PKI file:intInformation provided by the PKI file:booleangetLmiDlciStatusEntryAt(int index) Information provided by the PKI file:Information provided by the PKI file:getMapEntryAt(int index, String portName) Information provided by the PKI file:intgetMapEntryCount(String portName) Information provided by the PKI file:voidsetEncapType(FrameRelayEncapType encapType) Information provided by the PKI file:voidsetLmiType(LMIType lmiType) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.PortKeepAliveProcessImpl
getKeepAliveInterval, isKeepAliveOn, setKeepAliveInterval, setKeepAliveOnMethods inherited from class com.cisco.pt.ipc.sim.impl.ProcessImpl
getOwnerDeviceMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.PortKeepAliveProcess
getKeepAliveInterval, isKeepAliveOn, setKeepAliveInterval, setKeepAliveOnMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Constructor Details
-
FrameRelayProcessImpl
public FrameRelayProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
setLmiType
Information provided by the PKI file:
\brief Sets the LMI type for this Frame Relay process. \param lmiType, the LMI type. LMI types: eLmiAnsi = 0, eLmiCisco = 1, eLmiQ933a = 2- Specified by:
setLmiTypein interfaceFrameRelayProcess- Parameters:
lmiType- Takes in a parameter of lmiType
-
setEncapType
Information provided by the PKI file:
\brief Sets the encapsulation type for this Frame Relay process. \param encapType, the encapsulation type. Encapsulation types: eFrameRelayEncapCisco = 0, eFrameRelayEncapIetf = 1, eFrameRelayEncapDefault = 2- Specified by:
setEncapTypein interfaceFrameRelayProcess- Parameters:
encapType- Takes in a parameter of encapType
-
getEncapType
Information provided by the PKI file:
\brief Returns the encapsulation type of this Frame Relay process. \return FrameRelayEncapType, the encapsulation type of this Frame Relay process. Encapsulation types: eFrameRelayEncapCisco = 0, eFrameRelayEncapIetf = 1, eFrameRelayEncapDefault = 2- Specified by:
getEncapTypein interfaceFrameRelayProcess- Returns:
- FrameRelayEncapType Returns a FrameRelayEncapType
-
getLmiType
Information provided by the PKI file:
\brief Returns the encapsulation type of this Frame Relay process. \return LmiType, the LMI type of this Frame Relay process. LMI types: eLmiAnsi = 0, eLmiCisco = 1, eLmiQ933a = 2- Specified by:
getLmiTypein interfaceFrameRelayProcess- Returns:
- LMIType Returns a LMIType
-
addMapEntry
public boolean addMapEntry(IPAddress ipAddress, int dlci, boolean bBroadcast, FrameRelayEncapType encapType, String portName) Information provided by the PKI file:
\brief Adds a map entry to the specified port. \param ipAddress, the IP address to map. \param dlci, the DLCI number. \param bBroadcast, true forwards broadcasts to this address, false does not forward broadcasts. \param encapType, the encapsulation type of this Frame Relay process. Encapsulation types: eFrameRelayEncapCisco = 0, eFrameRelayEncapIetf = 1, eFrameRelayEncapDefault = 2 \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \return bool, true if successful, otherwise false.- Specified by:
addMapEntryin interfaceFrameRelayProcess- Parameters:
ipAddress- Takes in a parameter of ipAddressdlci- Takes in a parameter of dlcibBroadcast- Takes in a parameter of bBroadcastencapType- Takes in a parameter of encapTypeportName- Takes in a parameter of portName- Returns:
- boolean Returns a boolean
-
addIntDlciEntry
Information provided by the PKI file:
\brief Adds a interface-DLCI entry the specified port. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \param dlci, the DLCI number. \return bool, true if successful, otherwise false.- Specified by:
addIntDlciEntryin interfaceFrameRelayProcess- Parameters:
portName- Takes in a parameter of portNamedlci- Takes in a parameter of dlci- Returns:
- boolean Returns a boolean
-
deleteMapEntry
Information provided by the PKI file:
\brief Removes the map entry from the specified port. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \param ipAddress, the IP address of the map. \return bool, true if successful, otherwise false.- Specified by:
deleteMapEntryin interfaceFrameRelayProcess- Parameters:
portName- Takes in a parameter of portNameipAddress- Takes in a parameter of ipAddress- Returns:
- boolean Returns a boolean
-
deleteIntDlciEntry
Information provided by the PKI file:
\brief Removes the interface-DLCI entry from the specified port. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \param dlci, the DLCI number. \return bool, true if successful, otherwise false.- Specified by:
deleteIntDlciEntryin interfaceFrameRelayProcess- Parameters:
portName- Takes in a parameter of portNamedlci- Takes in a parameter of dlci- Returns:
- boolean Returns a boolean
-
getMapEntryAt
Information provided by the PKI file:
\brief Returns the map entry at the specified index on the specified port. \param index, the index of the map entry of interest. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \return FrameRelayMapEntry, the FrameRelayMapEntry object at the specified index on the specified port.- Specified by:
getMapEntryAtin interfaceFrameRelayProcess- Parameters:
index- Takes in a parameter of indexportName- Takes in a parameter of portName- Returns:
- FrameRelayMapEntry Returns a FrameRelayMapEntry
-
getIntDlciEntryAt
Information provided by the PKI file:
\brief Returns the interface-DLCI number at the specified index on the specified port. \param index, the index of the interface-DLCI of interest. \param portName portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \return short, the interface-DLCI number at the specified index on the specified port.- Specified by:
getIntDlciEntryAtin interfaceFrameRelayProcess- Parameters:
index- Takes in a parameter of indexportName- Takes in a parameter of portName- Returns:
- Short Returns a Short
-
getLmiDlciEntryAt
Information provided by the PKI file:
\brief Returns LMI DLCI at the specified index. \param index, the index of the LMI DLCI of interest. \return short, the LMI DLCI at the specified index.- Specified by:
getLmiDlciEntryAtin interfaceFrameRelayProcess- Parameters:
index- Takes in a parameter of index- Returns:
- Short Returns a Short
-
getLmiDlciStatusEntryAt
public boolean getLmiDlciStatusEntryAt(int index) Information provided by the PKI file:
\brief Returns true if the LMI DLCI at the specified index is active, otherwise false. \param index, the index of the LMI DLCI of interest. \return bool, true if the LMI DLCI at the specified index is active, otherwise false.- Specified by:
getLmiDlciStatusEntryAtin interfaceFrameRelayProcess- Parameters:
index- Takes in a parameter of index- Returns:
- boolean Returns a boolean
-
getMapEntryCount
Information provided by the PKI file:
\brief Returns the number of map entries. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \return int, the number of map entries.- Specified by:
getMapEntryCountin interfaceFrameRelayProcess- Parameters:
portName- Takes in a parameter of portName- Returns:
- int Returns a int
-
getIntDlciEntryCount
Information provided by the PKI file:
\brief Returns the number of interface-DLCI entries. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \return int, the number of interface-DLCI entries.- Specified by:
getIntDlciEntryCountin interfaceFrameRelayProcess- Parameters:
portName- Takes in a parameter of portName- Returns:
- int Returns a int
-
getLmiDlciEntryCount
public int getLmiDlciEntryCount()Information provided by the PKI file:
\brief Returns the number of LMI DLCI entries. \return int, the number of LMI DLCI entries.- Specified by:
getLmiDlciEntryCountin interfaceFrameRelayProcess- Returns:
- int Returns a int
-
getIntDlciToPort
Information provided by the PKI file:
\brief Returns the port of the specified interface-DLCI. \param dlci, the interface-DLCI of interest. \return Port, the Port object of the specified interface-DLCI.- Specified by:
getIntDlciToPortin interfaceFrameRelayProcess- Parameters:
dlci- Takes in a parameter of dlci- Returns:
- Port Returns a Port
-
clearInvArpEntries
public void clearInvArpEntries()Information provided by the PKI file:
\brief Clears the inverse ARP entries.- Specified by:
clearInvArpEntriesin interfaceFrameRelayProcess
-
getDlciTable
Information provided by the PKI file:
\brief Returns the DLCI table. \return DlciTable, the DlciTable object.- Specified by:
getDlciTablein interfaceFrameRelayProcess- Returns:
- DLCITable Returns a DLCITable
-